projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5c2033
)
Allow autogen even when Git is not installed
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 2 Oct 2015 19:40:57 +0000
(12:40 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 2 Oct 2015 19:41:31 +0000
(12:41 -0700)
* autogen.sh: Test ‘git status’ before trying to use Git.
autogen.sh
patch
|
blob
|
history
diff --git
a/autogen.sh
b/autogen.sh
index 926915c1af1e985834a98b91c7eaf234994a56f8..563a0244ca8c1f7ac6a2b58dbcb4757f99b4f56d 100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-218,7
+218,7
@@
echo timestamp > src/stamp-h.in || exit
## Configure Git, if using Git.
-if test -d .git; then
+if test -d .git
&& (git status -s) >/dev/null 2>&1
; then
# Configure 'git diff' hunk header format.